package edu.fafu.entity;

import java.util.HashSet;
import java.util.Set;

public class User {
	private int id;
	private String username;
	private String pwd;
	private Set<Question> questions = new HashSet<Question>();
	private Set<Answer> answers = new HashSet<Answer>();
	private Set<Answer> likes = new HashSet<Answer>();
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public Set<Question> getQuestions() {
		return questions;
	}
	public void setQuestions(Set<Question> questions) {
		this.questions = questions;
	}
	public Set<Answer> getAnswers() {
		return answers;
	}
	public void setAnswers(Set<Answer> answers) {
		this.answers = answers;
	}
	public Set<Answer> getLikes() {
		return likes;
	}
	public void setLikes(Set<Answer> likes) {
		this.likes = likes;
	}
	
	
}
